package com.bjx.api.flow.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @desc: 流程启动VO
 * @author: liushuai
 * @date: 2022/11/1 16:23
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "FlowStartVO",description = "流程启动实体")
public class FlowStartVO {
    /**
     *  流程定义key
     */
    @NotNull(message = "流程定义Key不能为空")
    @Schema(title = "definitionKey",description = "流程定义Key")
    private String definitionKey;

    @NotNull(message = "业务Id不能为空")
    @Schema(title = "businessId",description = "业务Id")
    private String businessId;


    @Schema(title = "params",description = "流程参数")
    private Map<String, Object> variables;

    private String businessSign;

    private String name;

    /**
     * 查询参数1
     */
    @Schema(title = "ext1",description = "查询参数1")
    private  String ext1;
    /**
     * 查询参数2
     */
    @Schema(title = "ext2",description = "查询参数2")
    private  String ext2;
    /**
     * 查询参数3
     */
    @Schema(title = "ext3",description = "查询参数3")
    private  String ext3;
    /**
     * 查询参数4
     */
    @Schema(title = "ext4",description = "查询参数4")
    private  Long ext4;
    /**
     * 查询参数5
     */
    @Schema(title = "ext5",description = "查询参数5")
    private  Long ext5;
    /**
     * 查询参数6
     */
    @Schema(title = "ext6",description = "查询参数6")
    private  Long ext6;


}
